home *** CD-ROM | disk | FTP | other *** search
/ Sky at Night 2007 June / SAN CD 6-2007 CD-ROM 25.iso / pc / Software / AstroGrav_Win / Java / jre1.6.0 / lib / rt.jar / javax / swing / JOptionPane$1.class (.txt) < prev    next >
Encoding:
Java Class File  |  2006-11-29  |  662 b   |  28 lines

  1. package javax.swing;
  2.  
  3. import java.awt.event.WindowAdapter;
  4. import java.awt.event.WindowEvent;
  5.  
  6. final class JOptionPane$1 extends WindowAdapter {
  7.    private boolean gotFocus;
  8.    // $FF: synthetic field
  9.    final JOptionPane this$0;
  10.  
  11.    JOptionPane$1(JOptionPane var1) {
  12.       this.this$0 = var1;
  13.       this.gotFocus = false;
  14.    }
  15.  
  16.    public void windowClosing(WindowEvent var1) {
  17.       this.this$0.setValue((Object)null);
  18.    }
  19.  
  20.    public void windowGainedFocus(WindowEvent var1) {
  21.       if (!this.gotFocus) {
  22.          this.this$0.selectInitialValue();
  23.          this.gotFocus = true;
  24.       }
  25.  
  26.    }
  27. }
  28.